package com.qyer.lxp.model.orderstatus.normal;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * 订单状态
 * Created by wangzhen on 16/6/24.
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class OrderStatus implements Serializable{

    private static final long serialVersionUID = -1051070707474561214L;

    /**
     * 订单 cd
     */
    @XmlElement(name = "order-cd")
    private String orderCd;

    /**
     * 分销商订单 refer
     */
    @XmlElement(name = "distributor-order-refer")
    private String distributorOrderRefer;


    /**
     *
     */
    @XmlElementWrapper(name = "order-items")
    @XmlElement(name = "order-item-status")
    private List<OrderItems> orderItemses;

    public String getOrderCd() {
        return orderCd;
    }

    public void setOrderCd(String orderCd) {
        this.orderCd = orderCd;
    }

    public String getDistributorOrderRefer() {
        return distributorOrderRefer;
    }

    public void setDistributorOrderRefer(String distributorOrderRefer) {
        this.distributorOrderRefer = distributorOrderRefer;
    }

    public List<OrderItems> getOrderItemses() {
        return orderItemses;
    }

    public void setOrderItemses(List<OrderItems> orderItemses) {
        this.orderItemses = orderItemses;
    }
}
